using System;
using System.ComponentModel.DataAnnotations;

namespace InvestmentIntelligence.DbModel.Models
{
    public class EconomicSector
    {
        [Key]
        public int Id { get; set; }
        public int SectorId { get; set; }
        public string Description { get; set; }
        public Nullable<int> ParentId { get; set; }
        
        public override string ToString()
        {
            return string.Format("Id: {0}, SectorId: {1}, Description: {2}, ParentId: {3}", 
                Id, SectorId, Description, ParentId);
        }
    }
    
}
